package com.miao.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.miao.common.entity.pojo.ShopOrder;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * 订单表(ShopOrder)表数据库访问层
 *
 * @author MiaoWenQing
 * @since 2021-02-20 23:05:12
 */
@Mapper
@Repository
public interface AdminOrderDao extends BaseMapper<ShopOrder> {

    /**
     * 关闭订单
     * @param close
     * @return
     */
    int updateClose  (Map close);


    /**
     * 订单发货
     * @param deliver
     * @return
     */
    int updateDeliver (Map deliver);

}
